<style tyle="text/css">
    .modal-lg {
      width: 60%;
    }
</style>
<div class="modal-header">
    <h4 class="modal-title">任务参数</h4>
</div>
<div class="modal-body">
  <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
    <div class="form-group">
      <h4 class="col-lg-3 control-label"><i>任务标识</i></h4>
      <h4 class="col-lg-6 control-label text-left"><strong>{{obj.id}}</strong></h4>
    </div>
    <div class="form-group">
      <h4 class="col-lg-3 control-label"><i>任务结果</i></h4>
      <h4 class="col-lg-6 control-label text-left"><strong>{{obj.result=='0'?'失败':obj.result}}</strong></h4>
    </div>
    <div class="form-group" ng-if="obj.result=='成功'">
      <h4 class="col-lg-3 control-label"><i>任务结果</i></h4>
      <label class="col-lg-6 control-label text-left">
        <pre style="white-space: pre-wrap">{{obj.data}}</pre>
      </label>
    </div>
  </form>

</div>
<div class="modal-footer">
  <button class="btn btn-success" ng-if="obj.result == '0'" type="button" ng-click="reExec()">重新执行</button>
  <button class="btn btn-danger" type="button" ng-click="cancel()">关闭</button>
</div>